export const pageStyles = `
  .copy-description-btn {
    margin: 0 12px !important;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #00b42a;
    cursor: pointer;
    color: #fff;
  }
  .copy-description-btn:hover {
    background: #23c343;
  }
  
  .toast-container {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 16px;
    border-radius: 6px;
    z-index: 9999;
    font-size: 14px;
    transition: all 0.3s;
    max-width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
  
  .toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
  }

  .toast-title {
    margin-bottom: 0;
    padding-right: 8px;
    color: #75beff;
    font-weight: 500;
  }
  
  .toast-close-btn {
    background: none;
    border: none;
    color: #d4d4d4;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    margin: -4px;
    transition: all 0.2s;
    font-weight: 300;
  }

  .toast-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .toast-content {
    font-size: 13px;
    background: #1e1e1e;
    padding: 12px;
    border-radius: 4px;
    margin-top: 8px;
    white-space: pre;
    line-height: 1.5;
    position: relative;
    border: 1px solid #333;
    overflow-x: auto;
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  }
  
  /* 更丰富的语法高亮颜色 */
  .toast-content .ts-keyword {
    color: #569cd6; /* 蓝色 - 关键字 */
  }
  
  .toast-content .ts-type {
    color: #4ec9b0; /* 青绿色 - 类型 */
    // font-style: italic;
  }
  
  // .toast-content .ts-string {
  //   color: #ce9178; /* 橙色 - 字符串 */
  // }
  
  .toast-content .ts-comment {
    color: #6a9955; /* 绿色 - 注释 */
  }
  
  // .toast-content .ts-number {
  //   color: #b5cea8; /* 浅绿色 - 数字 */
  // }
  
  .toast-content .ts-property {
    color: #9cdcfe; /* 浅蓝色 - 属性名 */
  }
  
  .toast-content .ts-operator {
    color: #d4d4d4; /* 白色 - 操作符 */
  }
  
  .toast-content .ts-punctuation {
    color: #d4d4d4; /* 白色 - 标点符号 */
  }
`;
